/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.isd.global.modelo;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 *
 * @author ctrosch
 */
@Embeddable
public class ProvinciaPK implements Serializable{

    @Column(name = "GRTPAI_CODPAI", nullable = false, length = 6)
    private String codpai;
    @Column(name = "GRTPAI_CODPRO", nullable = false, length = 6)
    private String codpro;

    public ProvinciaPK() {

    }

    public ProvinciaPK(String codpai, String codpro) {
        this.codpai = codpai;
        this.codpro = codpro;
    }

    public String getCodpai() {
        return codpai;
    }

    public void setCodpai(String codpai) {
        this.codpai = codpai;
    }

    public String getCodpro() {
        return codpro;
    }

    public void setCodpro(String codpro) {
        this.codpro = codpro;
    }
    
}
